<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<table class="propsForm">
<tbody>
<tr><th><fmt:message key="message.category.name" /></th><td>${category.name}</td></tr>
<tr>
<th>属性名称</th>
<td><input type="text" name="pname" id="pname" value="${properties.name}" /></td>
</tr>
<tr>
<th></th>
<td>
<c:if test="${empty properties}">
<input type="button" name="addProp" id="addProp" value="新增属性" />
&nbsp;&nbsp;
<label for="copyProp"><input type="checkbox" name="copyProp" id="copyProp" />复制此属性到所有分类</label>
</c:if>
<c:if test="${properties!= null}">
<input type="button" name="addProp" id="addProp" value="修改属性" />
&nbsp;&nbsp;
<input type="button" name="delProp" id="delProp" value="删除属性" />
</c:if>
</td>
</tr>
</tbody>
</table>
<input type="hidden" id="cid" name="cid" value="${category.id}" />
<input type="hidden" id="pid" name="pid" value="${properties.id}" />